package com.woniu.entity;

import java.math.BigDecimal;
import lombok.Data;

@Data
public class Wallet {
    private Integer walletId;

    private Integer userId;

    private String cardId;

    private String payPassword;

    private BigDecimal commonBalance;

    private BigDecimal giveBalance;

    public Integer getWalletId() {
        return walletId;
    }

    public void setWalletId(Integer walletId) {
        this.walletId = walletId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword == null ? null : payPassword.trim();
    }

    public BigDecimal getCommonBalance() {
        return commonBalance;
    }

    public void setCommonBalance(BigDecimal commonBalance) {
        this.commonBalance = commonBalance;
    }

    public BigDecimal getGiveBalance() {
        return giveBalance;
    }

    public void setGiveBalance(BigDecimal giveBalance) {
        this.giveBalance = giveBalance;
    }
}